package net.pinnoocle.playdao.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

/**
 * 用户玩过或想玩的本(UserScript)表实体类
 *
 * @author ye
 * @since 2021-11-02 18:30:58
 */
@SuppressWarnings("serial")
@Data
@TableName("user_script")
public class UserScript extends Model<UserScript> {

    @TableId(type = IdType.UUID)
    private String userScriptId;
    //用户id
    private String userId;
    //店铺id
    private String shopId;
    //剧本id
    private String scriptId;
    //主持人id
    private String masterId;
    //类型 0 玩过的本 1 想玩的本
    private Integer type;
    //添加时间
    private Date createdTime;
}